package com.cloud.mqtt.monitor;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @program: mqtt
 * @description: 启动项目时启动需要启动的任务
 * @author: Cloud
 * @create: 2021/9/23 15:59:58
 */
@Component
public class RunTasks implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        // 自动生成数据任务
//        DataMonitor.runDataMonitorTask();
    }
}
